package com.hiyee.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "b2c_goods_spec_value")
public class SpecValue extends BasePojo {
    /**
     * 规格值ID
     */
    @Id
    @Column(name = "value_id")
    private Integer valueId;

    /**
     * 规格ID
     */
    @Column(name = "spec_id")
    private Integer specId;

    /**
     * 规格值
     */
    private String value;

    /**
     * 规格图片
     */
    @Column(name = "image_url")
    private String imageUrl;

    /**
     * 获取规格值ID
     *
     * @return value_id - 规格值ID
     */
    public Integer getValueId() {
        return valueId;
    }

    /**
     * 设置规格值ID
     *
     * @param valueId 规格值ID
     */
    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    /**
     * 获取规格ID
     *
     * @return spec_id - 规格ID
     */
    public Integer getSpecId() {
        return specId;
    }

    /**
     * 设置规格ID
     *
     * @param specId 规格ID
     */
    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    /**
     * 获取规格值
     *
     * @return value - 规格值
     */
    public String getValue() {
        return value;
    }

    /**
     * 设置规格值
     *
     * @param value 规格值
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * 获取规格图片
     *
     * @return image_url - 规格图片
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * 设置规格图片
     *
     * @param imageUrl 规格图片
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}